package com.motherchild.user.service;



import com.motherchild.user.dto.ShippingAddressDTO;

import java.util.List;

public interface ShippingAddressService {
    List<ShippingAddressDTO> getAddressesByUserId(Long userId); // 获取用户的收货地址
    void addAddress(ShippingAddressDTO addressDTO); // 添加收货地址
    void updateAddress(ShippingAddressDTO addressDTO); // 更新收货地址
    void deleteAddress(Long id); // 删除收货地址
    ShippingAddressDTO getAddressById(Long id); // 根据ID获取收货地址
}